package chapter06_object;

/**
 * ClassName: Phone
 * Package: OOP06
 * Description:
 *
 * @Author 安思宇
 * @Create 2025/3/2 14:36
 */
public class Phone {
    int price;
    String name;

    public void call(){
        System.out.println("我可以打电话");
    }
    public void music(){
        System.out.println("我可以听音乐");
    }
    public void playGame(){
        System.out.println("我可以玩游戏");
    }
    public void sendMessage(String message){
        System.out.println("我可以发送："+message);
    }
}
